package com.aizhixin.lab.project.course.repository;

import com.aizhixin.lab.project.course.entity.TeacherKnowledgePointFile;
import io.swagger.models.auth.In;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TeacherKnowledgePointFileRepository extends JpaRepository<TeacherKnowledgePointFile,String> {
    Integer deleteByKnowledgePointId(String knowledgePointId);
    List<TeacherKnowledgePointFile> findByKnowledgePointIdAndDeleteFlag(String knowledgePointId,Integer deleteFlag );

}
